package cn.itcalvin.stat.exam.mapper;

import cn.itcalvin.stat.exam.BaseMapper;
import cn.itcalvin.stat.exam.domain.StatUser;
import cn.itcalvin.stat.exam.pojo.resp.RespStat;
import cn.itcalvin.stat.exam.pojo.resp.RespStatDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;

@Mapper
public interface StatUserMapper extends BaseMapper<StatUser> {
   List<RespStat> search(@Param("startDate") String startDate,
                         @Param("endDate") String endDate);

   List<RespStatDetails> searchDetails(@Param("startDate")String startDate
           ,@Param("endDate")  String endDate
           ,@Param("orgIds") List<Integer> orgIds
   ,@Param("keyword") String keyword);

   List<RespStatDetails> searchZsDetails(@Param("startDate")String startDate
           ,@Param("endDate")  String endDate
           ,@Param("orgIds") List<Integer> orgIds
           ,@Param("keyword") String keyword);
}